package com.gmu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 管理员信息
 * </p>
 *
 * @author testjava
 * @since 2022-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TblAdmin对象", description="管理员信息")
public class TblAdmin implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "管理员id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "管理员账号")
    private String username;

    @ApiModelProperty(value = "管理员密码")
    private String password;

    @ApiModelProperty(value = "管理员联系电话")
    private String telephone;

    @ApiModelProperty(value = "管理员身份证号")
    private String idNumber;

    @ApiModelProperty(value = "管理员地址")
    private String address;

    @ApiModelProperty(value = "是否可用--1可用-0禁用")
    private Integer enabled;

    @ApiModelProperty(value = "单位名称")
    private String unitsName;

    @ApiModelProperty(value = "单位id")
    private Integer unitsId;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "删除标志-1删除-0存在")
    private Integer delFlag;


}
